Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODShape


SetPlatformShape

The SetPlatformShape method modifies this shape to make it equivalent to the specified graphics-system-specific shape.

void SetPlatformShape (in ODGraphicsSystem graphicsSystem,
                       in ODPlatformShape platformShape);
graphicsSystem
A 16-bit value specifying the graphics system for which you are specifying a shape. Valid graphics systems are platform dependent.
platformShape
A 32-bit value identifying a valid graphics-system-specific shape. Valid values for c are graphics-system-dependent.
DISCUSSION
Depending on the platform and graphics system you use, the specified graphics-system-specific shape may or may not be copied. On the Mac OS platform, the graphics system may be either QuickDraw (kODQuickDraw) or QuickDraw GX (kODQuickDrawGX).

EXCEPTIONS
kODErrInvalidGraphicsSystem
This implementation of OpenDoc does not support the specified graphics system, or that graphics system is not installed or available.
kODErrInvalidPlatformShape
Either the graphics system is QuickDraw and this shape is a null region or the graphics system is QuickDraw GX and this shape's type is not one of polygon, rectangle, path, empty, or full.
SEE ALSO
The ODGraphicsSystem type (page 883).
The ODShape::GetPlatformShape method (page 639).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help